﻿using Consul;
using Microsoft.AspNetCore.Mvc;

namespace Medlcalcare.MVC.Controllers
{
    public class MessageController : Controller
    {
        private readonly IConfiguration _configuration;

        public MessageController(IConfiguration configuration)
        {
            _configuration = configuration;
        }
        public IActionResult GetMessage()
        {
            ViewBag.BaseUrl = _configuration.GetSection("BaseUrl").Get<string>();
            return View();
        }
    }
}
